package com.ruoyi.project.labappointment.service;

import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.project.lab.domain.LabAppointmentDto;
import com.ruoyi.project.labappointment.domain.AddListParam;
import com.ruoyi.project.labappointment.domain.AddList;
import com.ruoyi.project.labappointment.domain.ApplyParam;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface LabAppointmentService {
    List<AddList> selectAddList(AddListParam addListParam);

    AjaxResult applyLab(List<ApplyParam> applyParam,Long userId);

    List<LabAppointmentDto> selectAppointemntSelect(AddListParam addListParam, Long userId);

    AjaxResult quitApply(Long id);

    /*通过*/
    Boolean goOut(Long id);
    /*拒绝*/
    Boolean refuse(Long id);

    /**
     * 删除实验室预约
     */
    boolean deleteAppoinment(String ids);


    /*AjaxResult applyLab2(List<ApplyParam> taskNodes, Long userId);*/
}
